/* initial */
body, h2, h3, h4, div, p, span, img, ul, li {
    padding: 0;
    margin: 0;
}
html, body {
    transition: all .6s linear;
    overflow-x: hidden;
}
ul, li {
    list-style: none;
}
a {
    text-decoration: none;
}

/* 背景盒子 */
.bgbox {
    width: 100%;
    min-width: 768px;
    height: 450px;
    border: 1px solid transparent;
    background-image: url("../assets/product-show-bg.jpg");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    position: relative;

    nav {
        width: 100%;
        min-width: 768px;
        height: 66px;
        margin: 0 auto;
        text-align: center;
        padding-top: 50px;
        background-color: transparent;
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: absolute;
        z-index: 999;
        transition: background-color .2s linear;

        .logo {
            display: inline-block;
            width: 104px;
            height: 30px;
            vertical-align: middle;

            img {
                width: 104px;
                height: 30px;
            };
        };

        ul {
            display: inline-block;
            border: 1px solid transparent;
            height: 66px;
            position: relative;

            li {
                display: inline-block;
                font-size: 14px;
                font-weight: 500;
                color: #fff;
                text-align: center;
                width: 75px;
                height: 66px;
                line-height: 66px;
                margin: 0 -2px 0 -2px;
                transition: all .6s;
            };

            .line {
                width: 75px;
                height: 4px;
                background-color: #00ccff;
                position: absolute;
                bottom: 2px;
                /* left通过JS来算 */
                transition: all .4s ease-in;
                display: none;
            };

            .sub {
                /* width: 100%; */
                width: 871px;
                height: 147px;
                background-color: #000;
                opacity: .7;
                position: absolute;
                left: -262px;
                top: 66px;
                display: none;

                .subtabs {
                    width: 120px;
                    height: 147px;
                    border: none;
                    text-align: center;
                    display: flex;
                    flex-direction: column;
                    margin-left: 468px;

                    li {
                        display: block;
                        width: 120px;
                        height: 21px;
                        color: #fff;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        a {
                            color: #fff;
                            font-size: 6px;
                            display: block;
                            width: 120px;
                            height: 21px;
                            line-height: 21px;
                        };

                        a:hover {
                            color: #1898d0;
                        };
                    };
                };

            };

            .sub:hover {
                display: block;
            };
        };

        /* 菜单按钮 (非移动端隐藏) */
        .menu {
            width: .64rem;
            height: .64rem;
            position: absolute;
            top: .5333rem;
            right: .5333rem;
            /* 在这儿隐藏 */
            display: none;

            img {
                width: .64rem;
                height: .64rem;
            };
        };
    };

    .title {
        width: 768px;
        height: 68px;
        margin: 0 auto;
        margin-top: 315px;
        text-align: center;

        h3 {
            font-size: 32px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
        };

        .english {
            font-size: 16px;
            font-weight: 400;
            color: #fff;
        }
    };
}

/* 主体部分 */
main {
    width: 100%;
    min-width: 768px;

    .product_tabs {
        width: 768px;
        height: 51px;
        margin: 0 auto;
        margin-top: 50px;
        display: flex;
        justify-content: space-around;
        align-items: center;

        li {
            display: block;
            font-size: 13px;
            width: 102px;
            text-align: center;
            height: 41px;
            line-height: 41px;
            background-color: #f6f6f6;
            transition: all .2s linear;

            a {
                display: block;
                color: #000;
                width: 105px;
                height: 41px;
                transition: all .2s linear;
            }
        };

        .cur {
            background-color: #0267b5;

            a {
                color: #fff;
            };
        };

        li:hover {
            background-color: #0267b5;

            a {
                color: #fff;
            };
        };
    };

    .products {
        width: 768px;
        /* height: 680px; */
        margin: 0 auto;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        align-content: space-between;
        justify-content: flex-start;
        transition: all .4s;

        .product {
            width: 312px;
            height: 300px;
            border: 1px solid #e5e5e5;
            margin: 0 45px 20px 25px;
            transition: all .4s;

            .pic {
                width: 312px;
                height: 250px;
                overflow: hidden;

                img {
                    width: 312px;
                    height: 275px;
                    transition: all .4s linear;
                };
            };

            .pic:hover img {
                transform: scale(110%);
            }

            .desc {
                width: 312px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                font-size: 14px;
                color: #000;
            };

            .desc:hover {
                background-color: #0f70d3;
                color: #fff;
            }
        }
    };

    .page {
        width: 750px;
        height: 30px;
        margin: 0 auto;
        margin-top: 30px;
        display: flex;
        justify-content: center;

        .w {
            width: 28px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            color: #949494;
            border: 1px solid #e6e6e6;
            margin-right: 5px;
            transition: all .4s linear;
            font-size: 16px;
            
            a {
                display: block;
                width: 30px;
                height: 30px;
                color: #949494;
            };
        };

        .w:hover {
            color: #fff;
            background-color: #0f70d3;
            border: 1px solid #0f70d3;
            cursor: pointer;

            a {
                color: #fff;
            };
        };

        .w.cur {
            color: #fff;
            background-color: #0f70d3;
            border: 1px solid #0f70d3;
            cursor: default;
        };
    };

    .page_total {
        width: 750px;
        height: 24px;
        margin: 10px auto;
        line-height: 24px;
        font-size: 16px;
        text-align: center;
    }
}

/* 底部footer */
footer {
    width: 100%;
    min-width: 768px;
    height: 425px;
    padding-top: 25px;
    background-color: #2a2e31;
    overflow: hidden;
    margin-bottom: 65px;

    /* width < 768px 时, footer_head 不可见 */
    .footer_head {
        min-width: 768px;
        height: 62px;
        margin: 0 auto;
        border-bottom: 1px solid #373a3d;
        padding-bottom: 10px;
        /* font-size: 0; */
        /* display: flex;
        justify-content: space-between; */
        /* 在这里关闭 */
        display: none;

        .footer_logo {
            /* display: inline-block; */
            width: 104px;
            height: 30px;
            margin-right: 100px;
            margin-top: 10px;
            float: left;

            img {
                width: 104px;
                height: 30px;
            };
        };

        .footer_navi {
            width: 550px;
            height: 62px;
            line-height: 62px;
            /* border: 1px solid transparent; */
            display: inline-block;

            ul {
                width: 550px;
                height: 62px;
                /* line-height: 62px; */
                /* border: 1px solid transparent; */
                float: right;
                display: flex;
                justify-content: space-evenly;
                align-items: center;

                li {
                    display: inline-block;
                    width: 60px;
                    height: 31px;
                    line-height: 31px;
                    text-align: center;
                    font-size: 13px;

                    a {
                        display: inline-block;
                        width: 60px;
                        height: 31px;
                        line-height: 31px;
                        color: #fff;
                    };
                };
            }
        };
    };

    .footer_main {
        min-width: 768px;
        height: 243px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;

        .footerw {
            width: 100%;
            min-width: 768px;
            height: 70px;

            .content {
                width: 750px;
                height: 70px;
                margin: 10px 0 0 12px;
                cursor: pointer;

                span {
                    img {
                        width: 50px;
                        height: 50px;
                        float: left;
                        margin-top: 10px
                    }
                };
    
                h3 {
                    font-size: 12px;
                    color: #c2c2c2;
                    margin: 10px 0 5px 20px;
                    font-weight: normal;
                    display: inline-block;
                    width: 600px;
                };
    
                p {
                    font-size: 12px;
                    color: #fff;
                    display: inline-block;
                    width: 600px;
                    margin-left: 20px;
                };

                /* .phone {
                    font-size: 22px;
                }; */
            }
            
        };

        .qrcode {
            text-align: center;
            /* position: relative; */

            .pic {
                width: 100%;
                min-width: 768px;
                height: 70px;
                text-align: center;
                /* position: absolute;
                top: 50px;
                right: 10px; */
                margin-top: 50px;

                img {
                    width: 100px;
                    height: 100px;
                }

                h3 {
                    width: 138px;
                    font-size: 14px;
                    color: #c2c2c2;
                    margin-top: 10px;
                    text-align: center;
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    /* 隐藏 */
                    display: none;
                };
            };

        };
    };

    .footer_footer {
        width: 768px;
        height: 115px;
        margin: 0 auto;
        padding-top: 125px;
        padding-bottom: 10px;
        border-top: 1px solid #373a3d;
        font-size: 14px;
        color: #fff;
        background-color: #2a2e31;

        .left {
            /* float: left;
            width: 48%; */
            text-align: center;
            margin: 5px auto;

            a {
                color: #fff;
            }
        }

        .right {
            /* float: right;
            width: 48%; */
            text-align: center;
            margin: 5px auto;
        }
    }
}

/* 返回顶部 */
.backtop {
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 100px;
    background-color: #333;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all .4s linear;
    opacity: 0;
    z-index: -1;

    img {
        width: 16px;
        height: 16px;
        margin-top: 9px;
    };
}

/* width < 992px 时的底部Tab栏 */
/* 此文件中打开 */
.bottomtab {
    width: 100%;
    min-width: 768px;
    height: 49px;
    padding: 10px 0;
    background-color: #202123;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: all .3s linear;
    position: fixed;
    bottom: 0;
    /* 隐藏开关在此 */
    opacity: 1;
    z-index: 999;
    /* 关闭时修改上方两个数值 */

    .bottombox {
        min-width: 180px;
        text-align: center;

        .icon {
            width: 180px;
            img {
                width: 30px;
                height: 30px;
            };
        };

        h3 {
            font-size: 14px;
            font-weight: normal;
            color: #fff;
            margin-top: 2px;
        };
    };
}

/* width < 768px 时 移动端的导航栏 */
.mobile_navi {
    width: 4rem;
    height: 100%;
    /* padding: 15% 0 10% 0; */
    background-color: #333333;
    position: absolute;
    top: 0;
    /* left: 0;
    opacity: 1;
    z-index: 99991; */
    /* 点击触发 */
    left: -4rem;
    opacity: 0;
    z-index: -1;
    transition: all .3s;

    ul {
        width: 4rem;
        height: 10.6667rem;
        margin-top: .5333rem;

        a {
            display: block;
            width: 3.4667rem;
            margin-left: .5333rem;
            height: 1.0667rem;
            line-height: 1.0667rem;
            text-indent: 1em;
            color: #aaa;
            font-size: .3733rem;
            border-bottom: .0267rem solid #111;
        }
    }
}
